Platform Explorer / Nuxeo Platform 11.4

Contribution org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters--suggesters

This contribution is part of XML component org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters inside nuxeo-platform-suggestbox-core-11.4.42.jar /OSGI-INF/suggestbox-suggesters-contrib.xml

Extension Point

Extension point suggesters of component SuggestionService.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
          <parameters>
            <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
            <parameter name="highlightFields">dc:title.fulltext,ecm:binarytext,dc:description.fulltext,ecm:tag,note:note.fulltext,file:content.name</parameter>
          </parameters>
        </suggester>
  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.UserGroupLookupSuggester" name="searchByUsersAndGroups">
          <parameters>
            <parameter name="userSuggestionsLimit">5</parameter>
            <parameter name="groupSuggestionsLimit">5</parameter>
            <parameter name="searchFields">fsd:dc_creator</parameter>
          </parameters>
        </suggester>

XML Source

<extension point="suggesters" target="org.nuxeo.ecm.platform.suggestbox.service.SuggestionService">

    <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
      <parameters>
        <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
        <parameter name="highlightFields">dc:title.fulltext,ecm:binarytext,dc:description.fulltext,ecm:tag,note:note.fulltext,file:content.name</parameter>
      </parameters>
    </suggester>

    <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.UserGroupLookupSuggester" name="searchByUsersAndGroups">
      <parameters>
        <parameter name="userSuggestionsLimit">5</parameter>
        <parameter name="groupSuggestionsLimit">5</parameter>
        <parameter name="searchFields">fsd:dc_creator</parameter>
      </parameters>
    </suggester>

  </extension>